//
// C++ Implementation: simpleitem
//
// Description: 
//
//
// Author: Henrique Marks <henriquemarks@gmail.com>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "simpleitem.h"
#include <QtGui>

SimpleItem::SimpleItem(QGraphicsItem *parent):QGraphicsItem(parent)
{
	setAcceptDrops(true);
}

QRectF SimpleItem::boundingRect() const
{
	return QRectF(-15, -50, 30, 50);
}

void SimpleItem::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,QWidget *widget)
{
	Q_UNUSED(option);
	Q_UNUSED(widget);
	painter->drawRoundRect(-40, -40, 80, 80, -15, -15);
}
